package com.yuandengta.yomall.ware.constant;

/**
 * 库存锁定状态 {@link StockLockStatusEnum}
 *
 * @author Kevin
 * @email: 178676392@qq.com
 */
public enum StockLockStatusEnum {
    /**
     * 已锁定
     */
    LOCKED(1, "已锁定"),
    /**
     * 已解锁
     */
    UNLOCK(2, "已解锁"),
    /**
     * 已扣减
     */
    DEDUCTED(3, "已扣减");

    private Integer code;
    private String msg;

    StockLockStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
